package com.zlq.cn.controller.api;


import com.zlq.cn.annotations.UnLogin;
import com.zlq.cn.annotations.UnSigned;
import com.zlq.cn.api.ApiParam;
import com.zlq.cn.service.un.VipLogService;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * <p>
 * 前端控制器
 * </p>
 *
 * @author zhoucl
 * @since 2020-06-13
 */
@RestController
@RequestMapping("/api/vipLog" )
public class VipLogController {
    protected Logger logger = LoggerFactory.getLogger(getClass().getName());
    @Autowired
    private VipLogService vipLogService;

    @UnLogin
    @UnSigned
    @RequestMapping("/iosNotifications" )
    public Object iosNotifications(@RequestBody ApiParam apiParam) {
        logger.error("ios通知回调");
        logger.error(apiParam.toJSONString());
        return "";
    }
}

